package com.kun.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Type;



@Entity
@Table(name="caseInfo")
public class CaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name="caseid")
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private int caseid;//	int not null identity(1001,1),
	
	@Column(name="customerid")
	private int customerid;//	uniqueidentifier not null,--客户id
	@Column(name="carid")
	private String carid;		// 车牌
	@Column(name="carVIN")
	private String carVIN;	// 车架
	
	@Column(name="carEngineNo")
	private String carEngineNo; //发动机
	
	@Column(name="caseImgPath")
	private String caseImgPath;//nvarchar(2000) not null,--图片地址 2000    
	
	@Column(name="casePhone")
	private String casePhone;
	
	@Column(name="reportTypeName")
	private String reportTypeName;//报案类型
	
	@Column(name="caseAddress")
	private String caseAddress;// nvarchar(50) not null,	--报案地址
	
	@Column(name="caseDate")
	@Type(type="date")
	private Date caseDate;// date not null,	--日期
	
	@Column(name="sysUserid")
	private int sysUserid;//接案员
	
	@Column(name="casestatus")
	private String casestatus = "未审核";// nvarchar(20) not null default '未审核',
	
	
	
	public int getCaseid() {
		return caseid;
	}

	public void setCaseid(int caseid) {
		this.caseid = caseid;
	}

	public int getCustomerid() {
		return customerid;
	}

	public void setCustomerid(int customerid) {
		this.customerid = customerid;
	}

	public String getCarid() {
		return carid;
	}

	public void setCarid(String carid) {
		this.carid = carid;
	}

	public String getCarVIN() {
		return carVIN;
	}

	public void setCarVIN(String carVIN) {
		this.carVIN = carVIN;
	}

	public String getCarEngineNo() {
		return carEngineNo;
	}

	public void setCarEngineNo(String carEngineNo) {
		this.carEngineNo = carEngineNo;
	}

	public String getCaseImgPath() {
		return caseImgPath;
	}

	public void setCaseImgPath(String caseImgPath) {
		this.caseImgPath = caseImgPath;
	}

	public String getCasePhone() {
		return casePhone;
	}

	public void setCasePhone(String casePhone) {
		this.casePhone = casePhone;
	}

	public String getReportTypeName() {
		return reportTypeName;
	}

	public void setReportTypeName(String reportTypeName) {
		this.reportTypeName = reportTypeName;
	}

	public String getCaseAddress() {
		return caseAddress;
	}
	public void setCaseAddress(String caseAddress) {
		this.caseAddress = caseAddress;
	}
	public Date getCaseDate() {
		return caseDate;
	}
	public void setCaseDate(Date caseDate) {
		this.caseDate = caseDate;
	}
	public int getSysUserid() {
		return sysUserid;
	}
	public void setSysUserid(int sysUserid) {
		this.sysUserid = sysUserid;
	}
	public String getCasestatus() {
		return casestatus;
	}
	public void setCasestatus(String casestatus) {
		this.casestatus = casestatus;
	}
	
	
	
}
